<?php

namespace app\admin\controller;

use think\Controller;
use think\Request;

class Category extends Controller
{
   
    public function index()
    {
        //
        $list=\app\common\model\Category::select();
        $list=get_tree_list($list->toArray());
        return $this->fetch('index',['list'=>$list]);
    }



    
}
